<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xSlider Demo</title>
<style>
/* = CSS Reset
-------------------------------------------------------------- */
body, img, ul{margin:0;padding:0;border:0;}
ul{list-style:none;}
.wrap{width:680px;margin:50px auto;}


/* = 以下为幻灯样式定义部分
-------------------------------------------------------------- */
#sliderbox{width:680px;height:210px;overflow:hidden;position:relative;margin-bottom:16px;}
#sliderimg li{float:left;}
#sliderimg img{width:680px;height:210px;display:block;}
#slidernum{position:absolute;z-index:10;right:5px;bottom:5px;}
#slidernum li{float:left;padding:0 5px;font-size:14px;border:1px #000 solid;line-height:20px;cursor:pointer;color:#000;margin:0 2px;display:inline;}
#slidernum li.xslider_hover{background:#000;color:#FFF;}
</style>
<script type="text/javascript" src="xSlider.min.js"></script>
<script type="text/javascript">
window.onload = function() {
	xSlider.init({
		wrap : 'sliderbox',
		width : 680
	});
}
</script>
</head>

<body>
<div class="wrap">
    <div id="sliderbox">
        <ul id="sliderimg">
            <li><a href="javascript:;"><img src="demo_img_1.gif" /></a></li>
            <li><a href="javascript:;"><img src="demo_img_2.gif" /></a></li>
            <li><a href="javascript:;"><img src="demo_img_3.gif" /></a></li>
        </ul>
        <ul id="slidernum">
            <li>1</li>
            <li id="aaa">2</li>
            <li>3</li>
        </ul>
    </div>
</div>
</body>
</html>
